Skip to content

Fix deprecation warning #403

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 28, 2021
Merged

Fix deprecation warning #403

merged 1 commit into from
Apr 28, 2021

Conversation

oleksandr-pavlyk
Copy link
Contributor

@oleksandr-pavlyk oleksandr-pavlyk commented Apr 23, 2021

In this PR:

Fixed deprecation warnings by using r"""string with backslashes""" as per PEP-257.

@oleksandr-pavlyk oleksandr-pavlyk force-pushed the fix-deprecation-warning branch 3 times, most recently from 99e768f to 03945c2 Compare April 27, 2021 15:02
Used r"""text with backslashes""" to avoid deprecation warning that
looked like this when running pytest:

```
dpctl\__init__.py:64
  C:\devel\dpctl\dpctl\__init__.py:64: DeprecationWarning: invalid escape sequence \*
        """
```

Same could be seen on Linux.
@oleksandr-pavlyk oleksandr-pavlyk force-pushed the fix-deprecation-warning branch from 03945c2 to 2436fe8 Compare April 27, 2021 22:38
@oleksandr-pavlyk oleksandr-pavlyk merged commit ee569c7 into master Apr 28, 2021
@oleksandr-pavlyk oleksandr-pavlyk deleted the fix-deprecation-warning branch April 28, 2021 00:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant